import {} from "./js/info.js"
import {add,mul} from "./js/math.js"

// require("./css/a.css")
// require("./css/b.less")

// console.log(name);

// console.log(add(10,20)); //30
// console.log(mul(20,30)); //600

import Vue from 'vue'
import app from './vue/app.js'
import Home from './vue/Home.vue'

new Vue({
    el: '#app',
    data: {
        msg: 'Hello Webpack!'
    },
    //3.使用组件
    template:`
    <div>
        <app/>
        <Home/>
    </div>
    `,
    components:{ //2.注册组件
        app,
        Home
    }
})

//1.创建模版
//2.根据模版注册组件
//3.使用组件
